package com.insleton.admin;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

public class NativeJPQL {
}
// public interface CustomRepository extends JpaRepository<User, Long> {
//     // nativeQuery 标识是否是原生SQL查询，建议使用hql
//     @Query(value = "SELECT * FROM your_table WHERE your_column = :param", nativeQuery = true)
//     List<User> findByCustomQuery(@Param("param") String param);
// }
